package com.sj.property;

import java.util.List;
import java.util.Map;
import java.util.Properties;

public class Person {
    private String pname;

    private List<Book> listBook;

    private String[] arrs;
    private List<String> list;
    private Map<String, String> map;
    private Properties properties;

    public void setListBook(List<Book> listBook) {
        this.listBook = listBook;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public void setArrs(String[] arrs) {
        this.arrs = arrs;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public void test1() {
        System.out.println("person..." + pname);

        System.out.println("arrs:" + arrs);
        System.out.println("list:" + list);
        System.out.println("map:" + map);
        System.out.println("properties:" + properties);

        System.out.println("listBook:" + listBook);
    }
}
